package com.tttshaoqi.pojo.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 用户实体类
 */
@Data
@Accessors(chain = true)
public class User {
    private Long id;
    private String phone;
    private String username;
    private String passwordHash;
    private String avatarUrl;
    private String nickname;
    private String bio;
    private Long likedCount;
    private Long postCount;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}